supplyTooltipOnOverflow

fun supplyTooltipOnOverflow(tooltipText: Supplier<Text>): SuppliedTextWidget

supplies a text for tooltips if the text overflows the width of the widget.

This can be identical to the primary text supplier, but it can be used to, for example, provide a tooltip that is split with line breaks, where the widget text is separated with commas.

Return

SuppliedTextWidget this widget

Author

fzzyhmstrs

Since

0.3.3

Parameters

tooltipText

Supplier<Text> - the text for the screen tooltip